package org.jeecg.modules.third.jg.jss.report.cfcdriverinfo.mapper;

import org.apache.ibatis.annotations.Param;
import org.jeecg.annotation.CurDataSource;
import org.jeecg.config.DataSourceNames;
import org.jeecg.modules.third.jg.jss.report.cfcdriverinfo.entity.CfcDriverinfo;

/**
 * @Description: CFC_DRIVERINFO
 * @Author: jeecg-boot
 * @Date:   2021-11-25
 * @Version: V1.0
 */
public interface CfcDriverinfoMapper  {

    @CurDataSource(name = DataSourceNames.SECOND)
    Integer insertSelective( CfcDriverinfo cfcDriverinfo);
    @CurDataSource(name = DataSourceNames.SECOND)
    CfcDriverinfo selectDriverinfo(@Param("driverid") String driverid );
    @CurDataSource(name = DataSourceNames.SECOND)
    CfcDriverinfo getDriverinfoByIdcard(@Param("idcard") String idcard );
    @CurDataSource(name = DataSourceNames.SECOND)
    CfcDriverinfo getDriverinfoByCarrierid(@Param("carrierid") String carrierid );
    @CurDataSource(name = DataSourceNames.SECOND)
    Integer  deleteDriverinfo(@Param("driverid") String driverid);

}
